package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    //分页
    PageInfo<Permission> query(QueryObject qo);

    //权限加载
    void reload();

    //查询所有权限
    List<Permission> selectAll();

    List<String> selectByEmpId(Long id);
}
